﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GMS.Framework.Common.TopManager
{
    public class TopManagerConst
    {
        #region AuthController

        /// <summary>
        /// 设置一个静态的值为0
        /// </summary>
        public const string Value = "0";

        /// <summary>
        /// 将userId置为无效
        /// </summary>
        public const int UserIdInvalid = -1;

        /// <summary>
        /// 模拟登陆失效
        /// </summary>
        public const string ErrorSimulatedLoginFailure= "/Html/Error/ErrorSimulatedLoginFailure.html";

        public const string ErrorHtml = "/Areas/ErrorNotTraining.html";
        #region session 

        public const string TrainingInstitutionId = "TrainingInstitutionId";

        public const string SERVER_NAME = "SERVER_NAME";

        public const string strServerName = "strServerName";

        #endregion
        /// <summary>
        /// 返回的语句
        /// </summary>
        public const string REQUEST_ORIGIN_NOT_ROOF = "请求来源不是平台";

        /// <summary>
        /// 返回的语句
        /// </summary>
        public const string INSTITUTION_FALSE = "模拟机构域名不正确";

        /// <summary>
        /// 返回的语句
        /// </summary>
        public const string REQUEST_USER_FALSE = "请求用户不正确";

        /// <summary>
        /// 返回的语句
        /// </summary>
        public const string ANALOG_USER_FALSE = "模拟用户不正确";

        /// <summary>
        /// 返回的语句
        /// </summary>
        public const string SIGN_FALSE = "签名不正确";

        /// <summary>
        /// 返回的语句
        /// </summary>
        public const string CONT_REQUEST_USERMSG = "无法获取到用户信息";

        /// <summary>
        ///机构被删除或者未激活提示语
        /// </summary>
        public const string INSTITUTION_ISDELETE_ORNOTUSED = "机构被删除或者未激活";

        /// <summary>
        /// 返回的语句
        /// </summary>
        public const string TIME_DIFFERENCE_THAN_ONE = "传递的时间戳与服务器时间差距大于1分钟";

        /// <summary>
        /// 判断传递时间戳格式错误提示语
        /// </summary>
        public const string FORMATE_ERROR = "传递的时间戳格式不正确";

        #endregion

        #region 用户相关

        /// <summary>
        /// 上级部门名称连接字符
        /// </summary>
        public const string DEPARTMENT_JOIN_STR = "/";

        /// <summary>
        /// 没有上级部门时的显示
        /// </summary>
        public const string DEPARTMENT_DEFAULT = "--";

        /// <summary>
        /// 操作（新增）
        /// </summary>
        public const string OPERATE_MODE_ADD = "ADD";

        /// <summary>
        /// 操作（编辑）
        /// </summary>
        public const string OPERATE_MODE_EDIT = "EDIT";
        #endregion

        #region 微信权限有关

        /// <summary>
        /// 跳转登录页面提示语
        /// </summary>
        public const string GOTO_LOGIN = "跳转登录页面";

        /// <summary>
        /// 微信
        /// </summary>
        public const string WEICHAT = "微信";

        /// <summary>
        /// 无访问权限提示语
        /// </summary>
        public const string NOPOWER = "对不起，您没有访问权限！";

        /// <summary>
        /// 密码错误提示语
        /// </summary>
        public const string PWDERROR = "密码错误";

        /// <summary>
        /// 无账号提示语
        /// </summary>
        public const string Open_Account = "请联系管理员，开通后台账号";

        /// <summary>
        /// 固定语句
        /// </summary>
        public const string Welcome = "欢迎您~";

        /// <summary>
        /// 手机号绑定失败提示语
        /// </summary>
        public const string BindingPhone = "该手机号已经绑定！";

        #endregion

        #region 讲师相关

        /// <summary>
        /// 删除操作成功后返回语句
        /// </summary>
        public const string FinishDelete = "删除成功";

        /// <summary>
        /// 操作动作成功后返回语
        /// </summary>
        public const string OperateSuccess = "操作成功";

        /// <summary>
        /// 启用动作失败后返回语
        /// </summary>
        public const string FirstUsedUser = "请先启用用户后再启用讲师";

        /// <summary>
        /// 用户Id不能为空
        /// </summary>
        public const string ERROR_USER_ID_ZERO = "请选择用户账号";

        /// <summary>
        /// 讲师简介的最大长度
        /// </summary>
        public const int MAX_LENGTH_DESCRIPTION = 200;

        /// <summary>
        /// 老师简介
        /// </summary>
        public const string STR_DESCRIPTION = "老师简介";

        /// <summary>
        /// 特色课程的最大长度
        /// </summary>
        public const int MAX_LENGTH_COURSE_FEATURES = 200;

        /// <summary>
        /// 特色课程
        /// </summary>
        public const string STR_COURSE_FEATURES = "特色课程";   

        /// <summary>
        /// 数据超长的信息
        /// </summary>
        public const string ERROR_VALUE_OVER_LENGTH = "{0}的长度超过{1}";
        #endregion

    }
}
